<?php
/**
* @version		$Id: almhm.php 12 2011-11-02 14:20:06Z netix.mail@gmail.com $
* @package		ALM Hotel Menager	
* @subpackage	com_almhm
* @author		ALM Studio
* @copyright	Copyright 2011 ALM Studio. All rights reserved
* @licence		Commercial
*/

defined('_JEXEC') or die('Restricted access');

abstract class AlmHmHelper
{

	public static function addSubmenu($vName) 
	{
		JSubMenuHelper::addEntry(
        JText::_('COM_ALMHM_MENUI_HOME')
        , 'index.php?option=com_almhm&view=almhm'
        , $vName == 'almhm');
        
		JSubMenuHelper::addEntry(
        JText::_('COM_ALMHM_MENI_PONUDE')
        , 'index.php?option=com_almhm&view=ponudas'
        , $vName == 'ponudas');
       
        JSubMenuHelper::addEntry(
        JText::_('COM_ALMHM_MENI_STAVKE_PONUDE')
        , 'index.php?option=com_almhm&view=stavke_ponudes'
        , $vName == 'stavke_ponudes');
        
        JSubMenuHelper::addEntry(
        JText::_('COM_ALMHM_MENI_MJESTA')
        , 'index.php?option=com_almhm&view=mjestos'
        , $vName == 'mjestos');
        
        JSubMenuHelper::addEntry(
        JText::_('COM_ALMHM_MENI_OBLASTI')
        , 'index.php?option=com_almhm&view=oblasts'
        , $vName == 'oblasts');
        
        JSubMenuHelper::addEntry(
        JText::_('COM_ALMHM_MENI_KATEGORIJE')
        , 'index.php?option=com_almhm&view=kategorijas'
        , $vName == 'oblasts');
        
        JSubMenuHelper::addEntry(
        JText::_('COM_ALMHM_MENI_DOGADJAJI')
        , 'index.php?option=com_almhm&view=dogadjajis'
        , $vName == 'dogadjajis');
        
        JSubMenuHelper::addEntry(
        JText::_('COM_ALMHM_MENI_TURIST_INFO')
        , 'index.php?option=com_almhm&view=turist_infos'
        , $vName == 'turist_infos');

        $document = JFactory::getDocument();
		$document->addStyleDeclaration('.icon-48-almhm {background-image: url(../media/com_almhm/images/almhm-48.png);}');
		$document->addStyleDeclaration('.icon-48-ponudas {background-image: url(../media/com_almhm/images/ponudas-48.png);}');
		$document->addStyleDeclaration('.icon-48-stavke_ponudes {background-image: url(../media/com_almhm/images/stavke_ponudes-48.png);}');
		$document->addStyleDeclaration('.icon-48-mjestos {background-image: url(../media/com_almhm/images/mjestos-48.png);}');
		$document->addStyleDeclaration('.icon-48-oblasts {background-image: url(../media/com_almhm/images/oblasts-48.png);}');
		$document->addStyleDeclaration('.icon-48-dogadjajis {background-image: url(../media/com_almhm/images/dogadjajis-48.png);}');
		$document->addStyleDeclaration('.icon-48-turist_infos {background-image: url(../media/com_almhm/images/turist_infos-48.png);}');
		$document->addStyleDeclaration('.icon-48-kategorijes {background-image: url(../media/com_almhm/images/kategorijes-48.png);}');
        
		$document->addStyleDeclaration('.icon-48-ponuda {background-image: url(../media/com_almhm/images/ponuda-48.png);}');
		$document->addStyleDeclaration('.icon-48-stavke_ponude {background-image: url(../media/com_almhm/images/stavke_ponude-48.png);}');
		$document->addStyleDeclaration('.icon-48-mjesto {background-image: url(../media/com_almhm/images/mjesto-48.png);}');
		$document->addStyleDeclaration('.icon-48-oblast {background-image: url(../media/com_almhm/images/oblast-48.png);}');
		$document->addStyleDeclaration('.icon-48-dogadjaji {background-image: url(../media/com_almhm/images/dogadjaji-48.png);}');
		$document->addStyleDeclaration('.icon-48-turist_info {background-image: url(../media/com_almhm/images/turist_info-48.png);}');
		$document->addStyleDeclaration('.icon-48-kategorije {background-image: url(../media/com_almhm/images/kategorije-48.png);}');
	}
}